package com.sunwayworld.basemodule.business.prefolder.dao.impl;

import com.sunwayworld.basemodule.business.prefolder.bean.LimsPreFolderBean;
import com.sunwayworld.basemodule.business.prefolder.dao.LimsPreFolderDao;
import com.sunwayworld.basemodule.business.prefolder.mapper.LimsPreFolderMapper;
import com.sunwayworld.framework.mybatis.mapper.MapperParameter;
import com.sunwayworld.framework.support.base.dao.GenericDao;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Repository;

import com.sunwayworld.framework.mybatis.dao.MybatisDaoSupport;
import com.sunwayworld.framework.spring.annotation.GikamBean;

import java.util.List;
import java.util.Map;

@Repository
@GikamBean
public class LimsPreFolderDaoImpl extends MybatisDaoSupport<LimsPreFolderBean, Long> implements LimsPreFolderDao {

    @Autowired
    private LimsPreFolderMapper limsPreFolderMapper;

    @Override
    public LimsPreFolderMapper getMapper() {
        return limsPreFolderMapper;
    }

    @Override
    public List<Map<String, Object>> selectForHistory(MapperParameter parameter) {
        return getMapper().selectForHistory(parameter);
    }
}
